var contextPath = $("#contextPath").val();

$(document).ready(function(){
	$("#askQuestion").click(function(){
		window.open(contextPath + "/question/askQuestion", "_self");
	});
	
	$("#userLogin").click(function(){
		window.open(contextPath + "/user/login", "_self");
	});
	
	$("#userLogout").click(function(){
		window.open(contextPath + "/user/logout", "_self");
	});
	$("#register").click(function(){
		window.open(contextPath + "/user/register", "_self");
	});
	
});